package com.kgc.community.service.impl;

import com.kgc.community.mapper.UserMapper;
import com.kgc.community.pojo.User;
import com.kgc.community.service.UserAddService;

import javax.annotation.Resource;

/**
 * @Author Mr.Man
 * @Date 2020-12-06 18:11
 **/
public class UserAddServiceImpl implements UserAddService {
    @Resource
    UserMapper userMapper;
    @Override
    public Integer addUser(User user) {
        int i = userMapper.insertSelective(user);
        return i;
    }
}
